package com.np.demo1.services;

import com.np.demo1.pojo.User;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class UserService {
    public static List<User> list() {
        List<User> users = new ArrayList<>();
        users.add(new User(1, "Trump", "男", 32, "研发部", BigDecimal.valueOf(1600),"USA"));
        users.add(new User(2, "Biden", "男", 30, "财务部", BigDecimal.valueOf(1800),"USA"));
        users.add(new User(3, "Hillary", "女", 20, "人事部", BigDecimal.valueOf(1700),"USA"));
        users.add(new User(4, "Obama", "男", 38, "研发部", BigDecimal.valueOf(1500),"USA"));
        users.add(new User(5, "Bush", "女", 25, "财务部", BigDecimal.valueOf(1200),"USA"));
        return users;
    }
}
